{if $PRODUCT.LIST != NULL}
	<div id="title_content">
		<div  id="title_txt">{$PAGE_NAME}
		</div>
	</div>
	<div id="main_content">
    	<div id="showall_pro">	
            <table width="100%">
            	<thead>
                <tr>
                  <th width="20%">&nbsp;</th>
					  <th width="40%" align="left">{TranslateTag}LABEL_PRODUCT_NAME{/TranslateTag}</th>
					  <th width="20%" align="right">{TranslateTag}LABEL_PRICE{/TranslateTag}</th>
					  <th width="20%" align="center">{TranslateTag}LABEL_BUY_NOW{/TranslateTag}</th>
                </tr>
                </thead>
                <tbody>
                {foreach name=search from=$PRODUCT.LIST item=item}
                <tr class="{cycle values=,alternate}">
                    <td align="center">
                        <a href="?page=product_detail&amp;catid={$smarty.get.cat}&amp;id={$item->product_id}">
                            <img src="{$item->thumb_image}" alt="" border="0">
                        </a>
                    </td>
                    <td align="left">{$item->product_name}</td>
                    <td align="right">
                      {if $item->specials_new_products_price != NULL || $item->featured_new_products_price != NULL}
                    	<s>{$item->product_price}&nbsp;{$item->symbol_left}</s>
                      {else}
                      	 {$item->product_price}&nbsp;{$item->symbol_left}
                      {/if} 
                        &nbsp;
                    {if $item->specials_new_products_price != NULL}
                    	{$item->specials_new_products_price}&nbsp;{$item->symbol_left}
                    {elseif $item->featured_new_products_price != NULL}
                    	{$item->featured_new_products_price}&nbsp;{$item->symbol_left}
                    {/if}
                    </td>
                    <td align="center">
						<form name="addtobasket" method="post">
                    		<input type="hidden" name="act" value="addtobasket" />
                    		{if $item->specials_new_products_price != NULL}
                    			<input name="price" id="price" type="hidden" value="{$item->specials_new_products_price}" />
                    		{elseif $item->featured_new_products_price != NULL}	
                    			<input name="price" id="price" type="hidden" value="{$item->featured_new_products_price}" />
                    		{else}
                    			<input name="price" id="price" type="hidden" value="{$item->product_price}" />
                    		{/if}        	
                    		<input name="quantity" type="hidden" value="1" size="5" />
                    		<input name="product_id" id="product_id" type="hidden" value="{$item->product_id}" />
                   			<input name="submit" type="submit" class="btn_buynow" value="" />
                		</form>
					</td>
                </tr>
                {/foreach}   
                </tbody> 
            </table>
    	</div>
        {if $PRODUCT.LIST != NULL}
            <div>			
                      <div style="width:300px; float:left"> 
                          {TranslateTag}LABEL_PAGES{/TranslateTag} : {$PRODUCT.TOTAL} {TranslateTag}LABEL_OF{/TranslateTag} {$PRODUCT.TOTALDATA}
                      </div>			
                      <div style="width:300px; text-align:right; float:right" >{$PRODUCT.FIRST} {$PRODUCT.PRE}&nbsp;{$PRODUCT.LISTPAGE} {TranslateTag}LABEL_OF{/TranslateTag} &nbsp; {$PRODUCT.TOTALPAGE} &nbsp;                   
                          <select onchange="javascript:window.location='{$PRODUCT.LINK}&{$PRODUCT.PATHNAME}='+this.value">
                            {$PRODUCT.COMBOPAGE}                     
                          </select>&nbsp;{$PRODUCT.NEXT} {$PRODUCT.LAST}         
                      </div>
                      <div style="clear:both"></div>		
            </div>	     
            {/if}         
	</div>
{/if}